using System;
using System.Net;
namespace ServiceStack
{
	[AttributeUsage]
	public class ApiResponseAttribute : AttributeBase, IApiResponseDescription
	{
		public int StatusCode
		{
			get;
			set;
		}
		public string Description
		{
			get;
			set;
		}
		public ApiResponseAttribute(HttpStatusCode statusCode, string description)
		{
			this.StatusCode = statusCode;
			this.Description = description;
		}
		public ApiResponseAttribute(int statusCode, string description)
		{
			this.StatusCode = statusCode;
			this.Description = description;
		}
	}
}
